**************************************************************************************************
*
* Codebook for "Ethnic Coalitions and Media Freedom in African Autocracies" by Janina Beiser-McGrath 
* 
**************************************************************************************************

* This file lists and describes all variables used for analyses shown in the Article and Online appendix 


***************************************************************************************************
* Variables in repdata.dta, which is required to reproduce all analyses shown in the Article and 
* the Online Appendix, with the exception of Table 23 in the Online Appendix that also includes
* irrelevant groups
***************************************************************************************************


* year = Year 
* countryname = Country name  
* ccodecow = Country identifier 
* autoc = GWF Autocracy 
* africa = African state 
* v2mecenefm = Media censorship
* l_poscoalprop33_bin = Junior 33 per cent of senior, dummy, t-1
* l_poscoalprop33 = Junior 33 per cent of senior, prop, t-1
* largepos33 =    Large coalition, t-1 x junior 33 per cent, dummy, t-1
* l_largecoal = Large coalition, dummy, t-1
* l_largestsenior = Size of largest senior partner group, t-1
* l_coal = Coalition government, dummy, t-1
* l_excl_groups_count =  Number of excluded groups, t-1
* l_exclpop = Percentage excluded, t-1
* oil = Oil production value 
* ln_gle_cgdpc =  GDP per capita, ln
* exrecruit = Executive recruitment
* v2x_horacc = Horizontal accountability 
* nonviolent_bin =  Nonviolent protest dummy 
* incidence_flag = Civil conflict dummy 
* coup =   Coup, dummy 
* elec = Election, dummy 
* senioryears = Years in senior partner spell
* senioryears2 = Years in senior partner spell, squared 
* senioryears3 =  Years in senior partner spell, cubed 
* v2mecenefm_osp = Media censorship, original scale 
* l_negcoalprop33_bin = Senior 33 per cent of junior, dummy, t-1
* l_negcoalprop33 = Senior 33 per cent of junior, prop, t-1
* l_any33 = Any group 33 per cent of senior, t-1
* gwf_party = Party regime 
* v2clkill = Freedom from political killings 
* gwf_party = Party regime 
* l_prop_incl = Proportion of groups included, t-1
* l_poscoalprop33small_bin = Junior 33 per cent of senior, small senior, dummy, t-1
* l_egip_groups_count = Number of included groups, t-1
* l_juniorequallarger = Larger junior partner, t-1
* l_v2mecenefm = Lagged dependent variable
* autyearscum = Years in current autocratic spell
* autyearscum2 = Years in current autocratic spell, squared
* autyearscum3 = Years in current autocratic spell, cubed
* years1 -- years71 = Year dummies
* democ = Democracy 
* l_poscoalprop10_bin =  Junior 10 per cent of senior, dummy, t-1
* largepos10 = Large coalition, t-1 x junior 10 per cent, t-1
* l_poscoalprop20_bin =  Junior 20 per cent of senior, dummy, t-1
* largepos20 = Large coalition, t-1 x junior 20 per cent, t-1
* l_poscoalprop30_bin = Junior 30 per cent of senior, dummy, t-1
* largepos30 = Large coalition, t-1 x junior 30 per cent, t-1
* l_poscoalprop40_bin =  Junior 40 per cent of senior, dummy, t-1
* largepos40 = Large coalition, t-1 x junior 40 per cent, t-1
* l_poscoalprop50_bin =  Junior 50 per cent of senior, dummy, t-1
* largepos50 = Large coalition, t-1 x junior 50 per cent, t-1
* l_poscoalprop10 = Junior 10 per cent of senior, prop, t-1
* l_poscoalprop20 = Junior 20 per cent of senior, prop, t-1
* l_poscoalprop30 = Junior 30 per cent of senior, prop, t-1
* l_poscoalprop40 = Junior 40 per cent of senior, prop, t-1
* l_poscoalprop50 = Junior 50 per cent of senior, prop, t-1
* largepos33nolag = Large coalition x junior 33 per cent
* largeneg33 = Large coalition, t-1 x senior 33 per cent, t-1
* l_poscoalprop33small = Junior 33 per cent of senior, prop, small, t-1
* largepos33small = Large coalition, t-1 x junior 33 per cent, small, t-1
				
				

***************************************************************************************************
* Variables in repdataincirrel.dta, which is required to reproduce Table 23 in the Online Appendix
***************************************************************************************************


* year = Year 
* countryname = Country name  
* ccodecow = Country identifier 
* autoc = GWF Autocracy 
* africa = African state 
* v2mecenefm = Media censorship
* l_poscoalprop33_bin = Junior 33 per cent of senior, dummy, t-1
* l_poscoalprop33 = Junior 33 per cent of senior, prop, t-1
* largepos33 =    Large coalition, t-1 x junior 33 per cent, dummy, t-1
* l_largecoal = Large coalition, dummy, t-1
* l_largestsenior = Size of largest senior partner group, t-1
* l_coal = Coalition government, dummy, t-1
* l_excl_groups_count =  Number of excluded groups, t-1
* l_exclpop = Percentage excluded, t-1
* oil = Oil production value 
* ln_gle_cgdpc =  GDP per capita, ln
* exrecruit = Executive recruitment
* v2x_horacc = Horizontal accountability 
* nonviolent_bin =  Nonviolent protest dummy 
* incidence_flag = Civil conflict dummy 
* coup =   Coup, dummy 
* elec = Election, dummy 
* senioryears = Years in senior partner spell
* senioryears2 = Years in senior partner spell, squared 
* senioryears3 =  Years in senior partner spell, cubed 

